﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="addkehu.aspx.cs" Inherits="weba.addkehu" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <div class="Body_Title">客户服务 》》客户留言</div>
        <hr />
     <table cellpadding="2" cellspacing="1" class="Admin_Table" style="width:99%; margin:5px auto;">
     <thead>
        <tr class="Admin_Table_Title">
            <th colspan="3">编辑客户留言信息</th>
        </tr>
     </thead>
     <tr>
            <th colspan="3">添加客户信息前，请先查看该信息是否已经存在，<a href="UserService.aspx">点击此处去查询..</a></th>
        </tr>
        <tr>
            <td>联系人：</td>
            <td>
                <input id="txtPerson" type="text" maxlength="20" runat="server" class="txtHInput"/>&nbsp;<img src="Images/warning.png"/>必填</td>
            <td>联系人名称，不能为空！</td>
        </tr>
        <tr>
            <td>公司名称：</td>
            <td>
                <input id="txtCompanyName" type="text" maxlength="100" runat="server" class="txtHInput"/>&nbsp;<img src="Images/warning.png"/>必填</td>
            <td>公司名称，不能为空！</td>
        </tr>
        
        <tr>
            <td>联系电话：</td>
            <td><input id="txtTel" type="text" maxlength="30" runat="server" class="txtHInput"/>&nbsp;<img src="Images/warning.png"/>必填</td>
            <td>联系电话，这个不能为空！</td>
        </tr>
        <tr>
            <td>手机：</td>
            <td><input id="txtMoblie" type="text" maxlength="30" runat="server" class="txtHInput"/></td>
            <td>有的话，最好填上。</td>
        </tr>
        <tr>
            <td>邮箱：</td>
            <td><input id="txtMail" type="text" maxlength="30" runat="server" class="txtHInput"/></td>
            <td>有的话，最好填上。</td>
        </tr>
        <tr>
            <td>QQ：</td>
            <td>
                <input id="txtQQ" type="text" maxlength="30" runat="server" class="txtHInput"/></td>
            <td>有的话，最好填上。</td>
        </tr>
        <tr>
            <td>邮编：</td>
            <td>
                <input id="txtPost" type="text" maxlength="30" runat="server" class="txtHInput"/></td>
            <td>有的话，最好填上。</td>
        </tr>
        <tr>
            <td>传真：</td>
            <td><input id="txtFax" type="text" maxlength="30" runat="server" class="txtHInput"/></td>
            <td></td>
        </tr>
        <tr>
            <td>联系地址：</td>
            <td>
                <input id="txtAdress" type="text" maxlength="200" runat="server" class="txtHInput" style="width:400px"/></td>
            <td>有的话，最好填上。</td>
        </tr>
        <tr>
            <td>客户网站：</td>
            <td>
                <input id="txtWebUrl" type="text" maxlength="50" runat="server" class="txtHInput" value="http://"/></td>
            <td>有的话，最好填上。</td>
        </tr><tr>
            <td>性别：</td>
            <td>
                <asp:RadioButton ID="RBMan" runat="server" Checked="True" GroupName="SEX" 
                    Text="男" />
                <asp:RadioButton ID="RBWoMan" runat="server" GroupName="SEX" TabIndex="1" 
                    Text="女" />
            </td>
            <td>性别，默认男士。</td>
        </tr>
        <tr>
            <td>地区：</td>
            <td>
                <asp:DropDownList ID="DDLProvince" runat="server">
                    <asp:ListItem Value="0">全国</asp:ListItem>
                </asp:DropDownList></td>
            <td>默认属于全国各个地区！</td>
        </tr>
        <tr>
            <td>客户类型：</td>
            <td><asp:DropDownList ID="DDlClass" runat="server">
                    <asp:ListItem Value="0">代理商</asp:ListItem>
                    <asp:ListItem Value="1">供应商</asp:ListItem>
                </asp:DropDownList></td>
            <td></td>
        </tr>
        <tr>
            <td>客户等级：</td>
            <td><asp:DropDownList ID="DDLLeave" runat="server">
                    <asp:ListItem Value="0">普通会员</asp:ListItem>
                    <asp:ListItem Value="1">高级会员</asp:ListItem>
                    <asp:ListItem Value="2">审核会员</asp:ListItem>
                    <asp:ListItem Value="3">联盟会员</asp:ListItem>
                </asp:DropDownList></td>
            <td></td>
        </tr>
        <tr>
            <td>客户来源：</td>
            <td><asp:DropDownList ID="DDLFrom" runat="server">
                    <asp:ListItem Value="0">互联网</asp:ListItem>
                    <asp:ListItem Value="1">地区展会</asp:ListItem>
                    <asp:ListItem Value="2">推荐介绍</asp:ListItem>
                    <asp:ListItem Value="3">其它途径</asp:ListItem>
                </asp:DropDownList></td>
            <td></td>
        </tr>
         <tr>
            <td>所属管理员</td>
            <td>
                <asp:DropDownList ID="DropDownList1" runat="server" DataSourceID="LinqDataSource1" DataTextField="T_ServiceName" DataValueField="T_ServiceID"></asp:DropDownList>
                <asp:LinqDataSource ID="LinqDataSource1" runat="server" ContextTypeName="weba.sjklqDataContext" EntityTypeName="" Select="new (T_ServiceID, T_ServiceName)" TableName="T_ServiceUser">
                </asp:LinqDataSource>
             </td>
           
        </tr>
        <tr>
            <td>留言内容：</td>
            <td>
                <textarea id="txtRemark" cols="50" rows="5" runat="server"></textarea></td>
            <td>系统功能有限，该客户的其它信息，就写在这里吧。</td>
        </tr>
        <tr>
            <td></td>
            <td>
                <asp:Button ID="BtnSaveUserInfo" runat="server" Text="保存信息" 
                    onclick="BtnSaveUserInfo_Click" />&nbsp;
                <input id="txtRe" type="reset" value=" 重填 " />
                &nbsp;<input id="BtnBack" type="button" 
                    value="返回管理" onclick='javascript: location.href = "usersvc.aspx"'/>
            </td>
            <td></td>
        </tr>
     </table>
    </div>
    
    </form>
</body>
</html>
